﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Styx;
using Styx.Helpers;
using Styx.Logic.BehaviorTree;

namespace SwInYUtility
{
    internal static class Misc
    {
        private static byte _TickBefore = 0;

        internal static void Initialize()
        {
            _TickBefore = TreeRoot.TicksPerSecond;
            TreeRoot.TicksPerSecond = (byte)Settings._Instance.Misc_HBTPS;
        }

        internal static void Dispose()
        {
            TreeRoot.TicksPerSecond = _TickBefore;
        }
    }
}
